package com.hongxun.project.assets.bModel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongxun.framework.web.domain.BaseEntity;

/**
 * 模块表 b_model
 * 
 * @author hongxun
 * @date 2019-07-12
 */
public class BModel extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/** 模块类别 */
	private String label;
	/** 模块名称 */
	private String name;
	/** 适用范围 */
	private String range;
	/** 模块描述 */
	private String content;
	/**  */
	private String datastate;
	/** 创建人 */
	private Integer userId;
	/** 所属单位 */
	private Integer deptId;
	/**  */
	private Integer sort;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setLabel(String label) 
	{
		this.label = label;
	}

	public String getLabel() 
	{
		return label;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setRange(String range) 
	{
		this.range = range;
	}

	public String getRange() 
	{
		return range;
	}
	public void setContent(String content) 
	{
		this.content = content;
	}

	public String getContent() 
	{
		return content;
	}
	public void setDatastate(String datastate) 
	{
		this.datastate = datastate;
	}

	public String getDatastate() 
	{
		return datastate;
	}
	public void setUserId(Integer userId) 
	{
		this.userId = userId;
	}

	public Integer getUserId() 
	{
		return userId;
	}
	public void setDeptId(Integer deptId) 
	{
		this.deptId = deptId;
	}

	public Integer getDeptId() 
	{
		return deptId;
	}
	public void setSort(Integer sort) 
	{
		this.sort = sort;
	}

	public Integer getSort() 
	{
		return sort;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("label", getLabel())
            .append("name", getName())
            .append("range", getRange())
            .append("content", getContent())
            .append("datastate", getDatastate())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("sort", getSort())
            .toString();
    }
}
